<%= check_box_tag 'task[completed]', '1', completed, :disabled => completed %>
<%= form.text_field :name, :class => 'task_name', :disabled => completed %>
<%= form.select :worth, [1,2,5,10], {}, {:disabled => completed} %>
<%= submit_tag button_name %>